package com.itheima;

import java.util.Scanner;

public class TestMoveOperation {
    public static void main(String[] args) {
        Move[] moves = new Move[3];
        moves[0] = new Move(1, "java", 100);
        moves[1] = new Move(2, "c++", 200);
        moves[2] = new Move(3, "python", 300);
        MoveOperation moveOperation = new MoveOperation(moves);
        moveOperation.printInfo();
        Scanner sc = new Scanner(System.in);
        System.out.println("请输入要查找的id");
        int id = sc.nextInt();
        moveOperation.findById(id);
    }
}
